package com.cunjin.grade.entity;

import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.context.annotation.Scope;

@Scope("prototype")
@Table(name="cunjin_grade_t")
public class GradeEntity {
	
	@Id
    private Integer id;

    private String name;

    private String teacher;

   

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher == null ? null : teacher.trim();
    }

   
}